
Ext.ns("Ext.ux");


Ext.ux.FieldTip = function(config) {
        Ext.apply(this, config);
};


Ext.extend(Ext.ux.FieldTip, Ext.util.Observable, {
	    init: function(f) {
	    	this.field =f ;
		     f.afterMethod('render', this.onRender, this);
        },
        onRender:function () {
           var el = this.el = this.field.el;
           var tip = this.tip;
           if(tip) {
               el.set({'ext:qtip':tip});
           }
        }
	

});

